<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta charset="UTF-8">
    <title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
    <div id="root"></div>
    <audio id="sound"></audio>
    <script src="//cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>
    <!--<script src="//cdn.bootcss.com/vue-router/3.0.1/vue-router.min.js"></script>-->
    <script src="//cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <!--<script src="js/vconsole.min.js"></script>-->
    <!-- 兼容iOS微信自动播放音乐-->
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script>
        // ios 播放问题
        // touchstart让audio先播放起来
        document.addEventListener("touchstart",touch);
        function touch() {
            document.getElementById("sound").play();
            document.getElementById("sound").pause();
            document.removeEventListener("touchstart",touch)
        }



    </script>
</body>
</html>